package com.shop.cloud.service.system.impl;

import com.shop.cloud.domain.system.SysPosition;
import com.shop.cloud.service.system.ISysPositionService;
import com.shop.cloud.dao.system.ExtSysPositionDao;
import com.shop.cloud.dao.system.SysPositionDao;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.shop.cloud.common.mybatis.BaseService;
import com.shop.cloud.common.mybatis.MybatisDao;

/**
 * sys_position
 */
@Service("sysPositionService")
public class SysPositionService extends BaseService<SysPosition> implements ISysPositionService{
    
    @Autowired
	private SysPositionDao sysPositionDao;
    
    @Autowired
	private ExtSysPositionDao extSysPositionDao;

	@Override
	public MybatisDao<SysPosition> getEntityDao() {
		return sysPositionDao;
	}
    
	@Override
	public List<Map<String, Object>> list() {
		return extSysPositionDao.list();
	}
}